<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cherry.js</title>
    <script src="../../Cherry.js"></script>

</head>
<body>
    <div id="app"></div>
</body>
<script>

    new CherryMain({
        app:"app",
        child:[
            new CHE_Media({
                type:"video",
                src:"https://www.w3school.com.cn/i/movie.ogg",
                autoplay:true, //加载完播放
                controls:true, //操控控件
                muted:true,    //是否静音
                preload:true,   //提前加载
                loop:true    //循环播放


            }),
            new CHE_Media({
                type:"video",
                src:"https://www.w3school.com.cn/i/horse.ogg",
                autoplay:true, //加载完播放
                controls:true, //操控控件
                muted:true,    //是否静音

            })
        ],
        Created:()=>{

        }
    });



</script>
</html>